Bugfix for empty file names