public function addRemoteFile($url)
    {
        if (!filter_var($url, FILTER_VALIDATE_URL)) {
            throw new Exception\InvalidArgumentException(sprintf(
                'The url "%s" is not valid.',
                $url
            ));
        }

        $this->files[] = (string) $url;

        return $this;
    }