move file to the correct place