implemented method to read plist and return dictionary.