figured out how to read files