Add defineFileInfo on all generators