code: private void setParentFolder(final AbstractFile file) throws FrameworkException {
  
  		final Path parentPath = getParent();
  		if (parentPath != null && parentPath instanceof StructrFilePath) {
  
  			final StructrFilePath parentFilePath = (StructrFilePath)parentPath;
  			final Folder parentFolder = (Folder)parentFilePath.getActualFile();
  			if (parentFolder != null) {
  
  				file.setParent(parentFolder);
  			}
  		}
  	}
docs: ----- private methods -----