internal void AddFilesFromSync(IList<string> files, Sync.MobeelizerInputData inputData) { foreach (String guid in files) { if (application.GetDatabase().IsFileExists(guid)) { Log.i(TAG, "Skip existing file from sync: " + guid); continue; } Log.i(TAG, "Add file from sync: " + guid); String path = null; try { path = SavaFile(guid, inputData.GetFile(guid)); } catch (IOException e) { Log.i(TAG, e.Message); path = "/unknown"; } application.GetDatabase().AddFileFromSync(guid, path); } }