File? getLibraryFile(String name) { final libFile = File(name); if (libFile.existsSync()) { return libFile; } return null; }