public function getFromPath($path, $depth=0, $withParents=false)
    {

         if(isset($this->fs[$path])){
            return $this->fs[$path];
         }

    }
public function getFromPath($path, $depth=0, $withParents=false)
    {

         if(isset($this->fs[$path])){
            return $this->fs[$path];
         }

    }
public function getFromPath ( $ path , $ depth = 0 , $ withParents = false ) { if ( isset ( $ this -> fs [ $ path ] ) ) { return $ this -> fs [ $ path ] ; } }
Get a file object by the given path

@param string $path
@return \FileDB\Contracts\Model\File
Get a file object by the given path