Bugfix graph from file input.