add function to read file containing parsed data