add ability to read txt files containing FOM