GRIDFILE_COMPRESS doesn't look like it belongs here. Maybe it's a carryover from your Zlib support.