added parameter for routes file, use the src_root in the config locator