Add facility to load graphs from files.