Creates a header for source code based on a template file for a given file type.