title: c# How to get all files in a folder regardless of their file type
body: <p>I am trying to retrieve all the file paths in a specific folder location. I use the Directory.GetFiles("path of folder containing files") method, but it only detects files of type "File", and not files such as "ATC File". The files have no extentions. </p>
  
  <p>Is there a way of retrieving all files regardless of their type? If possible folders (of type "File Folder") should not be detected.</p>
  
  <p>I use the following code:</p>
  
  <pre><code>string[] filesInSelectedFolder = Directory.GetFiles(fileLocation);
  </code></pre>