protected function setComposerFile($file)
    {
        if (null != $file && !is_file($file)) {
            throw new FileNotFoundException(
                "The file {$file} was not found."
            );
        }

        $this->composerFile = $file;
    }