[ADD] analyze: manage multiple files in an input directory