add @File annotation and its event listener, service config