Added the fgen source file