<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_json(data):
 """ Convert JSON into a in memory file storage. Args: data (str):
 valid JSON with path and filenames and the base64 encoding of the file content. Returns: InMemoryFiles: in memory file storage """

        memfiles = InMemoryFiles()
        memfiles.files = json.loads(data)
        return memfiles