Changed the UI, and allows user to choose file.