added ability to delete files and set/remove header row