Quote Originally Posted by pnikolov View Post
And why the hell the method is called getSaveFileName() ???
Because it returns the name of a file chosen by the user in which data should be saved. It can't do anything with the data, especially that you don't pass it as an argument.