Implement moving file and removing file.