add a function to get plist's context
add read plist's method