Graph can now be created from a file