Added csv methods for graph creation