Removed sorting of the prevent the last files in the dir from taking long before being processed.
Fix if process fails at the start of a new file.