Modified writeOut() and readDisease().