Generalized file formats to support non-file formats