accept multiple files, generate stats