Previously, the glob (*) returned '*' when no files existed in the secrets dir, leading to error `chown: cannot access '*'`. Now `unprocessedFiles` is empty when there are no secrets. Also remove the unneeded sorting of `unprocessedFiles` and remove redundant leading zero in the default mode.