added delete, turned on file garbage collection