Add isPathSupported() helper
Check for tar.gz extension from isPathSupported