update and new class

Added a new class to pick either one file or multiple files. This is
used for opening the files.