Use flat text file for log instead of SharedPreferences