Split uploaded file