I believe the opening in the wall allows the farmer to move sheep from one field to another.