split up interceptor file