to delete from file