Added file select dialogs

The file to split is no longer hardcoded but rather selected by the user
in a prompt.