moving file to the correct folder