now handling compressed files correctly
noted prob w compressed files in previous versions