Flat files do not support concurrent writes safely. If two threads/processes try to write to the same file at the same time, they might overwrite or corrupt each other's data. Modern DBMS solve this ...