So I am making a little test, and when using a listbox it says "C:/Test/Text.txt" but I want it to say Text.txt. So I currently have
private void FlatButton3_Click(object sender, EventArgs e)
{
    ListBox1.Items.Clear();
    string folder = @"C:/Aatrox";
    string[] txtfiles = Directory.GetFiles(folder, "*.txt");
    string[] luafiles = Directory.GetFiles(folder, "*.lua");
    foreach (var item in folder)
    {
        ListBox1.Items.Add(Path.GetFileName(Convert.ToString(txtfiles)));
    }
}
and in the ListBox it says System.String[]
Any help?