A flat file with a big structure will have a lot of redundant data, and somebody will have to enter and maintain that data. A relational database does not have this redundancy and is much easier to maintain. A relational database is often much faster than a flat file, especially when lots of data is involved.