Changes the way files are deleted.