code: @Override
  	public String name() {
  
  		if (file == null) {
  			return null;
  		}
  
  		String name = null;
  
  		try (Tx tx = StructrApp.getInstance(securityContext).tx()) {
  
  			name = file.getName();
  			tx.success();
  
  		} catch (FrameworkException fex) {
  			logger.error("", fex);
  		}
  
  		return name;
  	}
docs: ----- interface PosixFileAttributeView -----