can this be only required once for all factories instead of each file?