Add basic support for gzip compressed files using a hardcoded flag
Determine compression type based on filename extension
Fix usage for inclusion of gzip files