code: public static void setFileProperties (File fileNode) throws FrameworkException {
  
  		final PropertyMap properties = new PropertyMap();
  
  		String id = fileNode.getProperty(GraphObject.id);
  		if (id == null) {
  
  			final String newUuid = UUID.randomUUID().toString().replaceAll("[\\-]+", "");
  			id = newUuid;
  
  			fileNode.unlockSystemPropertiesOnce();
  			properties.put(GraphObject.id, newUuid);
  		}
  
  		fileNode.unlockSystemPropertiesOnce();
  		fileNode.setProperties(fileNode.getSecurityContext(), properties);
  
  	}
docs: Set the uuid and the path of a newly created fileNode
  
  @param fileNode
  @throws FrameworkException