Removing weird file deletion method.