Works with gz files now.