Figured out sharedpreferences

added example of get from file.