IEnumerable<string> files = Directory.EnumerateFiles(@"c:\tpro", "*.fdn"); string test = files.First();