<?php $thefile = "data/$page.txt"; if (file_exists($thefile)) { include("$thefile"); } else { include("data/error.txt"); } ?>