private void TryReadDatabaseFromFile(string input, string[] data) { if (!IsDataValid(data, 2)) { return; } var databasePath = data[1]; repository.LoadData(databasePath); }