<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hash_file_contents(requirements_option: RequirementsOptions, path: Path) -> str: """ Returns a SHA256 hash of the contents of ``path`` combined with the Arca version. """

        return hashlib.sha256(path.read_bytes() + bytes(
            requirements_option.name + arca.__version__, "utf-8"
        )).hexdigest()