Checking if file exists before moving it [skip ci].