multiple sheets handled

handles multiple sheets for basic files. more complex files not yet tested.