You know I haven't seen people really expand on what drives most data generators (users) to really value Relational Databases (and thus SQL). To everyone else, I apologize if this is a bit rambling or argument by example, but I've found that you need these sorts of scenarios/examples for people who don't yet "get" it.
The abstraction permits you to extract new views of the data based on new requirements that didn't exist when the first bits of data were stored originally. This is true even years later. This same technique is valuable when you have multiple applications accessing the same data (or certain parts of the same overall dataset). These apps may be written by different vendors and/or internal teams across many years of time. You might even slowly be extending your data, hooking up new relationships piece by piece. When you started, you might not have known that you would one day need to hook up the phone number of every person who placed an order with vendor XYZ but if you expressed all those relationships as you went along, that capability is available. (Phone numbers to users, to orders, to kits, to kit parts, to distributors for that part, to ultimate manufacturers, where manufacturer is XYZ but not alternate provider ABC... perhaps because there is a safety recall. Then you hook orders to sales people, to HR, to email address so you can email each sales person their list of people to call. Then you hook sales person to their manager so they can follow up).
Everyone is just assuming one group writing one app with absolutely known up-front requirements about the data. That may be true for your iPhone app but is rarely true for large complex systems, like medium or large company, a website like Amazon.com, etc.
Instead of just storing the raw data, you store the data in a structured way in a system that expresses the constraints on that data and the relationships between pieces of data. You can then, at any time, create the equivalent of a "virtual text file" via a view or query that expresses different relationships, different roll-ups, computations, etc. Perhaps even more importantly, you can *update* this data later if one part of it changes and preserve the relationships. Imagine in the previous scenario that a manager left so now several sales people have a new manager. Or if the customer was assigned a new sales rep because the old sales rep left. If you have to scan years worth of files, then try to change those files and make sure the file format didn't change or you preserved the ability to write in old formats forever that quickly gets out of control.
The only way you could implement that faster is if you knew ahead of time what views of the system you would need and stored the data appropriately, adjusting summations/groups as you went along, which quickly becomes a nightmare with multiple apps. If you don't do it as you go, then you have to parse and scan for every query and that is quite literally O(omg!).
Imagine 100 different applications (a real-world scenario) reading/writing to some directory structure and files, some apps having hundreds or thousands of users. It would be quite literally *impossible* to keep the data in any kind of consistent state. One app makes a mistake and starts writing entries in a different format and you just ruined your entire "database". Multiple apps try to write to the same directory or file at the same time and you must either block (terrible performance) or they step on each other and you end up with half of one user's data and half of another's. Instead of ordering one $100 item, now the "database" says Mr Jones ordered $2000 worth of other stuff. Or 20 of the item he only wanted 1 of. Or any other scenario - you literally cannot predict what would ultimately end up in your "database". If you block, then when that sale price goes out on FatWallet and thousands of people are placing their orders at the same time, each order has to queue up and people's browsers quickly start timing out. Not to mention the fact that the order app can't get a peek in edgewise to start shuffling these orders to the warehouse. Of course I hope you planned on being able to run a query like "show me all the sales using coupon code 10682 during the past month" and stored your data appropriately, otherwise that query is going to require scanning and parsing a ton of files (and if you are blocking, congrats - your query stops orders from being processed while the query is running).
You can keep extending this example in many, many ways. Good relational databases give you these kinds of things... ways to let readers of data see a consistent (if slightly older) view of the data, while a writer is still busy making a bunch of changes. And making sure that if something fails, all the changes are discarded. (You don't have half-written files or have a change to one file get saved but the other file doesn't, so now you only have half the data). Combine those two - if a second user or second app were reading two files while the first user was saving a change, you would have "impossible" situations popping up all the time where the program expects that an order always has detail items, but the save to the order "file" happened but the save to the order detail hasn't happened yet. Again, you could never reason about the state or make any promises whatsoever. All apps would have to expect any bit of gibberish at any place at any time, and changing over time. Between loading one screen and another, the previously good data might turn to gibberish unless you cache everything.
To be sure there are plenty of scenarios where a relational database doesn't make sense vs just writing files, but if you think writing files is just as good as a RDBMs then you've never really worked with data in any significant way. Or with multiple apps. Or with multiple users. Or with changing requirements.