modified parse_locn_lines to include locn # and key