Use `File.file?` to check if the template path exists.