private function fileHasContent($file, $content) { return strpos(file_get_contents(getcwd() . $file), $content) != false; }