Copied code in common_read_open that also belonged in
common_read_open_file. What ever happened to DRY?