Future proofing: handle file records with unknown flags