moving files to the right directory