minimal graphing from files working