public void Setup() { var fileManager = new FileDataManager(); var database = fileManager.ReadAll(); if (database != null) { database.ForEach(x => fileManager.Delete(x.RecordId)); } }