+static bool
+route_template_filter (const string &str, void */*arg*/)
+{
+ if (str.find (template_suffix) == str.length() - strlen (template_suffix)) {
+ return true;
+ }
+
+ return false;
+}
+
+string
+session_template_dir_to_file (string const & dir)
+{
+ sys::path dir_path = dir;
+ sys::path file_path = dir;
+ file_path /= dir_path.leaf() + template_suffix;
+ return file_path.to_string ();
+}
+
+