switched to random access file for sorted edgelists