addressed performance/interupt issue with writing data to mass storage driver