work with multiple files