New methods for searching cases by caseIdentifier and removing unneccesaary files