Client extended for sequenced inputs
Server extensions added
File closing functions added