Handles multiple files