fileformat.go: added documentation comments