moving file to its rightful place