move files to the right directory