Added parsing and writing of arrf