account for full file structure
add error handling to read_tev