static Future<LCFile> fromPath(String name, String path) async { LCFile file = new LCFile(); file.name = name; file.file = new File(path); return file; }