public function fileEdit($file, $search, $replace)
    {
        file_put_contents($file, str_replace(
            $search,
            $replace,
            file_get_contents($file)
        ));
    }