/**
  * Get a file or folder instance by path
  * @param string $path Virtual file or folder path
  * @return \driverFileManagerFile File or folder instance, or null if not found
  */
 public static function getByPath($path)
 {
     if (!driverTools::str_start('/', $path)) {
         $path = '/' . $path;
     }
     $node = driverCommand::run('getNodes', array('nodetype' => 'file', 'where' => '`path` = \'' . $path . '\''));
     foreach ($node as $f) {
         return new driverFileManagerFile((object) $f);
     }
     return null;
 }