Reorganize files into folders