avoid exception when region's FileName is null