fileExists function
Returns true
if the file located at filePath
exists.
Implementation
Future<bool> fileExists(String filePath) {
final localSystemFilePath = toLocalSystemPathFormat(filePath);
final file = File(localSystemFilePath);
return file.exists();
}