added ability to delete selected files from DOM