metaprogram a source file