Thanks all.
Nevermind. Got it. Curl completely pulled. Had to load the file into xml this way instead of simplexmlelement used simplexml_load_file.
Although, I may switch to using curl for the copy instead of file_put_contents, So I can set a timeout if there is an issue with Chaturbate's XML file.
Code:
if (file_exists($cacheName)) {
$chat = simplexml_load_file($cacheName);
} else {
exit('Failed to open test.xml.');
}