Add basic reading and writing of friends.txt