protected function hasFile($fileName = null)
    {
        $filePath = $this->getStoragePath().$fileName;
        return $this->getStorageDisk()->exists($filePath);
    }
protected function hasFile($fileName = null)
    {
        $filePath = $this->getStoragePath().$fileName;
        return $this->getStorageDisk()->exists($filePath);
    }
protected function hasFile ( $ fileName = null ) { $ filePath = $ this -> getStoragePath ( ) . $ fileName ; return $ this -> getStorageDisk ( ) -> exists ( $ filePath ) ; }
Check file exists on storage device.
@param string $fileName
@return bool
Check file exists on storage device .