fixed issue #34 Problem with hypens in filenames