Added option to delete files