Implemented a simple file chooser.