less debug print
again, file opening issues fixed