Added multiple-file support (Issue #1)