}
} finally {
StreamUtils.safeClose(in);
}
contentItemNode.clear(); // AS7-1029
contentItemNode.get(HASH).set(hash);
} else {
// Unmanaged content, the user is responsible for replication
// Just validate the required attributes are present
unmanagedContentValidator.validate(contentItemNode);