private string DiscardChanges(string filename) { string dirPath = (Path.Combine(Server.MapPath("~/Content/Images/tempUploads/"))); string[] filesToDiscard = Directory.GetFiles(dirPath, filename); if (FileManipExtensions.DeleteSpecificFiles(filesToDiscard)) { return("DONE"); } else { return("ERROR"); } }