It should be fine as long as it is not inside the webtree (as you stated it is not).
You may also want to add to each of the files at the beginning (changing the filename to the actual filename):
Text Formatted Code
if (strpos(strtolower($_SERVER['PHP_SELF']), filename.php') !== false) {
die('This file can not be used on its own.');
}