Creating backup of files while deleting