added method to convert graphml files to node and edge files.