This page gives an overview of file formats
For input and output QHG mostly uses three kinds of files.
Dumping and Restoring
The QDF Format