Modified "FileSelector.java to select "dir" only capability when an input option is dir. Client programs are updated.
Merge remote-tracking branch 'origin/master'