readLocationFileInBackgroundService function
Implementation
Future<String> readLocationFileInBackgroundService() async {
var directory = await getExternalStorageDirectory();
directory ??= await getDownloadsDirectory();
return '${directory?.path}/Download/location_data.txt';
}