I don't understand why you are using a switch statement to bring in include files (need more explanation why you are doing this).
I would do something like this:
header.php
<table>
<tr><td>whatever</td></tr>
</table>
footer.php
<table>
<tr><td>whatever</td></tr>
</table>
File1.php
require_once("header.php");
<table>
<tr><td>whatever stuff goes here for file 1</td></tr>
</table>
require_once("footer.php");
.
.
.
File150.php
require_once("header.php");
<table>
<tr><td>whatever stuff goes here for file 150</td></tr>
</table>
require_once("footer.php");