test: remove files parameter from callback
core: add options optional parameter
doc: minor doc improvemenet
test: add single and multiple option