Interactive text-based file chooser dialog, modified from code published
by "mathematical.coffee" on Stack Overflow as "R command-line file
dialog".
If 'multiple=TRUE', one can select files one by one (they will
"disappear" from the displayed list), and typing "0" will output this
list. If "multiple=FALSE", typing "0" will output the name of the current
directory.
Files() uses normalizePath() so symbolic links will be resolved. Also,
Files() is not very useful when number of files in the directory is
large.
Alternatives for Linux: 'tcltk::tk_choose.files()' and
'tcltk::tk_choose.dir()'