code: public CFile getFile( CPath path )
      {
          Headers headers = headOrNull( path );
          if ( headers == null ) {
              return null;
          }
          if ( !headers.contains( "Content-Type" ) ) {
              LOGGER.warn( "{} object has no content type ?!", path );
              return null;
          }
          CFile file;
          if ( !CONTENT_TYPE_DIRECTORY.equals( headers.getHeaderValue( "Content-Type" ) ) ) {
              file = new CBlob( path,
                                Long.parseLong( headers.getHeaderValue( "Content-Length" ) ),
                                headers.getHeaderValue( "Content-Type" ),
                                parseTimestamp( headers ),
                                parseMetaHeaders( headers ) );
          } else {
              file = new CFolder( path,
                                  parseTimestamp( headers ),
                                  parseMetaHeaders( headers ) );
          }
          return file;
      }
docs: Inquire details about object at given path.
  
  @param path The file path
  @return a CFolder, CBlob or None if no object exist at this path