Can correctly generate by-<field> files