protected function findFileAt($path)
    {
        try {
            $files = $this->fromDirectory('')
                ->withPrefix($path)
                ->withDelimiter('')
                ->limit(1)
                ->get();
        } catch (ApiRequestFailedException $e) {
            return;
        }

        return $files->get(0);
    }
protected function findFileAt($path)
    {
        try {
            $files = $this->fromDirectory('')
                ->withPrefix($path)
                ->withDelimiter('')
                ->limit(1)
                ->get();
        } catch (ApiRequestFailedException $e) {
            return;
        }

        return $files->get(0);
    }
protected function findFileAt ( $ path ) { try { $ files = $ this -> fromDirectory ( '' ) -> withPrefix ( $ path ) -> withDelimiter ( '' ) -> limit ( 1 ) -> get ( ) ; } catch ( ApiRequestFailedException $ e ) { return ; } return $ files -> get ( 0 ) ; }
Loads file from path.

@param string $path

@return array|null
Loads file from path .