Generates a file spec for the specified file name.
The name of the file to generate.
A block of code that defines the contents of the file.