multiple file support

expanded simplest to include multiple file support