COMP: Disallow '.gz' extension
DOC: fix comment
BUG: Valgrind memory leak.

The dynamically allocated variable must be deleted in the destructor.