move files to right subdirectory