changed export/input formats from string to TGFileFormat