sorted out empty file names.