Deleting the files that are not needed