Fix PEP8. Prevent aborting files, that are already uploaded.