before modifying writecount
before chaning the file write client
A bug fixed by adding memset
before changing bridge and fileclient structures
debugged completely after implementing buffering
implemented intermediate cache. little buggy