File formats and flag set