public function find($path)
    {
        $file = $this->findFileAt($path);

        if (is_null($file)) {
            throw new FileNotFoundException('File "'.$path.'" was not found.');
        }

        return new File($this->api, $this->containerName(), $file);
    }
public function find($path)
    {
        $file = $this->findFileAt($path);

        if (is_null($file)) {
            throw new FileNotFoundException('File "'.$path.'" was not found.');
        }

        return new File($this->api, $this->containerName(), $file);
    }
public function find ( $ path ) { $ file = $ this -> findFileAt ( $ path ) ; if ( is_null ( $ file ) ) { throw new FileNotFoundException ( 'File "' . $ path . '" was not found.' ) ; } return new File ( $ this -> api , $ this -> containerName ( ) , $ file ) ; }
Finds single file at given path.

@param string $path

@throws \ArgentCrusade\Selectel\CloudStorage\Exceptions\FileNotFoundException

@return \ArgentCrusade\Selectel\CloudStorage\Contracts\FileContract
Finds single file at given path .