change linegraph to taking the objects, not the filenames.