How to read and write into plist file