using System.IO;
string file = "C:Documentsfile.txt";
Path.GetDirectoryName(file);
var path = Path.Combine(Directory.GetCurrentDirectory(), "fileName.txt");
string[] files = Directory.GetFiles(tx_path1.Text);
for(var i = 0; i < files.Length; i++)
{
}