public void DeleteImage(string year, string filename)
        {
            var path = $"/martingay/images/years/{year}/{filename}";

            using (var sftpBatch = new Application.SFtpBatch(_configuration))
            {
                sftpBatch.DeleteFile(path);
            }
        }
        public void DownloadDatabase()
        {
            using (var sftpClient = new Application.SFtpBatch(this.configuration))
            {
                this.relativePaths.ForEach(path => sftpClient.Download(path, Path.Combine(this.configuration.BasePath, path)));
            }

            // the diary that was loaded is not out of date, therefore reset
            _diary = null;
            GetDiary();
        }