implement fileStore.put method