code: protected CmsJlanNetworkFile getFileForPath(
          CmsObjectWrapper cms,
          SrvSession session,
          TreeConnection connection,
          String path) throws CmsException {
  
          try {
              String cmsPath = getCmsPath(path);
              CmsResource resource = cms.readResource(cmsPath, STANDARD_FILTER);
              CmsJlanNetworkFile result = new CmsJlanNetworkFile(cms, resource, path);
              return result;
          } catch (CmsVfsResourceNotFoundException e) {
              return null;
          }
      }
docs: Helper method to get a network file object given a path.<p>
  
  @param cms the CMS context wrapper
  @param session the current session
  @param connection the current connection
  @param path the file path
  
  @return the network file object for the given path
  @throws CmsException if something goes wrong