Added GUI for selecting file.