/// <summary> /// Check if a file exists /// </summary> private void ExistFile() { Boolean exists = readerWriter.ExistsFile(); if (exists) { stringBuilder.AppendLine("File exists"); } else { stringBuilder.AppendLine("File doesn't exist"); } }