ToC Editor: Use filenames when generating from files

ToC Editor: When generating a ToC from files, if the file has no text,
do not skip it. Instead create an entry using the filename of the file.