Explain how files, mass storage, and I/O are handled in a modern computer system.