Add a generator from a flat file, useful for debugging