Moved files to folder logic