Added ability to send file name to graph