public Resource createNew(String newName, InputStream inputStream,
Long length, String contentType) throws IOException,
ConflictException, NotAuthorizedException, BadRequestException {
Resource existingChild = child(newName);
if (existingChild == null) {
V7File child = file.createChild(inputStream, newName, contentType);
return new FileResource(child, factory);