title: Load filenames without extension to CheckedListBox
body: <p>I have a checkedListBox; wich loads <strong>files</strong> inside a folder; to run/open when checked.</p>
  
  <p>What I'm trying to achieve is to: <br> 
  - Load filenames without extension into the CheckedListBox.</p>
  
  <p><strong>I can retrieve:</strong></p>
  
  <pre><code>"C:\Folder1\anotherfolder\myfile1.txt"
  </code></pre>
  
  <p>but; i just want to be retrieve: the "filename" (with or without the extention).</p>
  
  <p><strong>Something Like:</strong> </p>
  
  <pre><code>"myfile1.txt"
  </code></pre>
  
  <p>I was attempting to do this with folderBrowserDialog, but I have no idea on how to accomplish this.</p>
  
  <p><strong>My Current Code:</strong></p>
  
  <pre><code>//...
      private string openFileName, folderName;
      private bool fileOpened = false;
  //...
  
          OpenFileDialog ofd = new OpenFileDialog();
          FolderBrowserDialog fbd = new FolderBrowserDialog();
  
          if (!fileOpened)
          {
              ofd.InitialDirectory = fbd.SelectedPath;
              ofd.FileName = null;
  
  
              fbd.Description = "Please select your *.txt folder";
              fbd.RootFolder = System.Environment.SpecialFolder.MyComputer;
              if (fbd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
              {
                  string foldername = fbd.SelectedPath;
                  foreach (string f in Directory.GetFiles(foldername))
                  checkedListBox1.Items.Add(f);
              }
  </code></pre>
  
  <p>Can anyone point me in the right direction?
  Thanks in advance.</p>