Reading to or from a text file is possible. In C++, it can be done with ifstream/ofstream: http://www.cplusplus.com/doc/tutorial/files/
However, it depends on the language and IDE you are using. If the IDE allows you to import txt files to read from, then you should be able to pull info. from them.