legacycode table replaces file (requires db update)