design an in-memory file system