Get file length (mobile only)
Future<int> getFileLength(dynamic file) async { if (kIsWeb) throw StateError('Not supported on web'); return await file_helper.getFileLength(file); }