Databases offer scalability, whereas flat files do not. What happens if the app you developed is required to do more in 2 years time?
Databases also offer numerous other benefits including permission levels and built-in backups which you would have to manually configure otherwise, increasing the work that needs to be done.
I will always choose a database over a flat file if it is an option. Always.