Added the ability to choose the file to load using a file chooser.