public override bool ValidateParams(string line) { // Concat command can have 1 and more options. try { if (!ParsingUtilities.HasAtLeastOneParam(name, line)) { return(false); } } catch (RegexMatchTimeoutException) { return(false); } string[] paths = ParsingUtilities.GetQuoteArguments(line); foreach (var path in paths) { // Check if all files exist. if (!PathTracker.IsFilePathValid(path)) { throw new InvalidPathException("FILE_NOT_FOUND"); } } return(true); }