trying to generate extern file