check before moving file