broke up read_mem_file into a sub problem mem_parse_line