<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_stored_hash(self, temp_ver):
 """ Retrieves the hash for the given template version from the store Args: temp_ver (TemplateVersion):
 template version to retrieve the hash for Returns: str: hash of the given template version """

        with open(self._prefixed('%s.hash' % temp_ver.name)) as f:
            return f.read().strip()