static File? getFileByPath(String filePath) { if (filePath.isEmpty) return null; return File(filePath); }