#388 deal better with new files which have a path in their names