hide certain template files in apearance editor

Yes, there is a way to hide template files from WordPress’ Appearance Editor. All you need to do is move the files so that it is two folders deep from your theme folder.

theme-folder/two/folders/template.php

Doing this should keep it from showing up in the editor.

Hope this helps.