check that region file is valid when opening