Add check if file exists before moving