flattened output file structure