added multiple files selection support