added methods to get scan resources and resource files