modified to be more specific at where moving file errors occurred