Added user input for file name. Fixed graph, kinda.