moving file into correct directory