Microsoft Interview Question

Q: How would you design and implement a file-saving module?