Choose gzipping from file extention, not folder