added the multiple files capability, testing