use fail safe method to get filename
remove html5csv.js, use csv.js/xls.js to import from csv/xls