make a separate function that generates the filename for the module dependency.