public function removeTrace($file)
    {
        // If the file does contain the trace, remove it.
        if (strpos(File::get($file), $this->realPath) !== false) {
            $content = str_replace($this->realPath, '', File::get($file));
            File::put($file, $content);
        }
    }