This is used to get file extension
String? getFileExtension(File file) { return p.extension(file.path, 2); }