Added delete method to delete files