SGM can be read
Cleanup, might fix lingering file handles
clarification