multiple files selection

Proposed change to include the case of multiple files selection