Describe how you manage files with a program, including design and implementation details.
Implement a FileManager class that supports file creation, content updates, reads, deletion, and listing by path prefix. Focus on the data structures and algorithms used to keep operations efficient and the code easy to extend.
create(path): create an empty file if it does not already existwrite(path, content): append content to the file at pathread(path): return the current file contentdelete(path): remove the file if it existslist(prefix): return all file paths that start with prefix, in lexicographic orderdef manage_files(operations):