private void AddToListView(BoilerPlateFile item)
        {
            var lstViewItem = new ListViewItem(item.FileName);

            lstViewItem.SubItems.Add(item.SourceDir);
            lstViewItem.SubItems.Add(item.DestDir);
            lstViewItem.Checked = true;
            listViewBoilerPlateFiles.Items.Add(lstViewItem);
        }
        private void ProcessFiles(string sourcePath)
        {
            string[] fileList = Directory.GetFiles(sourcePath, "*.*", SearchOption.AllDirectories);

            // Display the names of the directories.
            foreach (var item in fileList)
            {
                var file = new FileInfo(item);

                var bpFile = new BoilerPlateFile();

                bpFile.Included  = true;
                bpFile.SourceDir = ConvertSourceFileToRelativeDir(item);
                bpFile.DestDir   = StripTopDirectory(bpFile.SourceDir);
                bpFile.FileName  = file.Name;

                m_list.Add(bpFile);

                AddToListView(bpFile);
            }
        }