Readign file adn building classifier