reads a decisiontree file, short java exercise