Reading of file and parsing into nodes.