Implemented sort_files.py