It depends.
If you're saving complex data, then SQLite Database is obviously better and scalable.
But if you're saving non complex data like an integer or something, by all means use a text file, afterall SQLite Database is a flat file