fixed .csv handling, added support for filenames with parentheses