public function exists($file)
    {
        if (false === $file instanceof File) {
            $file = $this->factory->create($file);
        }

        return $this->adapter->exists($file->getName());
    }
public function exists($file)
    {
        if (false === $file instanceof File) {
            $file = $this->factory->create($file);
        }

        return $this->adapter->exists($file->getName());
    }
{@inheritdoc}