public void ProcessFromFile(string filePath) { if (string.IsNullOrWhiteSpace(filePath)) { throw new ArgumentNullException(nameof(filePath)); } if (!_fileSystem.FileExists(filePath)) { throw new FileNotFoundException("Cannot start process. Unable to locate file.", filePath); } var container = _deserialiser.Deserialise <Container>(filePath); _parcelProcessor.Process(container); }