Retrieves the contents of a file given its path. If the file does not exist, it throws an error.
The path of the file to read.
The contents of the file as a string.
Writes contents to a file at a given path. If the file already exists, it overwrites the existing contents.
The path of the file to write.
The contents to write to the file.
Void
Class that provides an in-memory file storage system. It extends the BaseFileStore class and implements its readFile and writeFile methods. This class is typically used in scenarios where temporary, in-memory file storage is needed, such as during testing or for caching files in memory for quick access.