Added file loading on route recognition