The attached file works fine for me. If you add local variables after finding the file, do C-c C-c on #+TITLE to refresh local variables. If you find the file while local variables are already there, you don't need it.