Check that user has selected a path
Move filechooser to separate module