Add write/read to file