                 else:                     raise Exception(parameter['name'] + " has an invalid param type " + parameter['type'])              file_out.write(output_string)          file_out.write("\n#endif /* %s */\n\n" % header)     finally:         file_out.close()   