Generate filenames from the module name and use that if it exists.