Cutting sleep time. Adding file renaming for better handling of duplicate files and filenames.