adding file reading and parsing.