public static function returnMatchingLinesFromFile($filePath, $textMatch) {
        $allLines = file($filePath);
        $matches = preg_grep("/" . $textMatch . "/i", $allLines);

        $cleanMatches = array_map(function ($str) {
            return str_replace(PHP_EOL, '', $str);
        }, $matches);

        return $cleanMatches;
    }