No more seg faulting with writing/reading disk