public function addLocalFile($file)
    {
        if (!file_exists($file)) {
            throw new Exception\InvalidArgumentException(sprintf(
                'The file "%s" does not exists.',
                $file
            ));
        }

        $this->addScript(file_get_contents($file));

        return $this;
    }