Handle .md files without proper titles, falling back to filenames