now parses filenames