Diocese gets to keep some records sealed