Moving files to correct directory