UI allows selecting file/directory and passes path back to main activity.