Added function to select several files