convert region file