merge the two statements:
die('<p>ERROR: The file "' . $filename . '" does not exist</p>');