Non-standard (new) theme file

Add a PHP comment to the top of your file, making it a Template:

<?php /* Template Name: Whatever */

//your code here

?>

Then create a new page with your new template as page template. Publish, then you will be able to access the file through the pages permalink.

Kind of quick and dirty, but it worked for me…