added ability to delete files