Assuming the file is readily available to you:
$htmlstring = implode("\n",file("filename.html"));
implode will turn an array into a string using the glue of "\n" (a new line between each key).
file will load the contents of the file ("filename.html," currently) into an array. Each line is a new key.
Hope this helps.