How can I create a implement store to store and retrieve data from a file??