fixed erroe cause by naming files with hyphen (file-name.html) 
renames twig variable to file_name
fixed error with file names that have hyphens...