Serializing data files