formatting of routes file