public bool DeleteFileAndLabelPartsAsProcessed(string filePath)
        {
            File.Delete(filePath);
            StorageConfiguration config = new StorageConfiguration();
            bool finished = config.StorePartsAsProcessed(RecordParts);

            return(finished);
        }
        public FileInfo[] GetAllViableFilesInRecordFolder()
        {
            string               RecordPath    = DrivePath + @"\RECORD";
            DirectoryInfo        directory     = new DirectoryInfo(RecordPath);
            List <FileInfo>      files         = directory.GetFiles("*.WAV").ToList();
            List <FileInfo>      filesToIgnore = new List <FileInfo>();
            StorageConfiguration config        = new StorageConfiguration();

            foreach (FileInfo file in files)
            {
                if (!config.HasRecordNotBeenProcessed(file))
                {
                    filesToIgnore.Add(file);
                }
            }
            return(files.Except(filesToIgnore).ToArray());
        }