title: Reading or writing multiple files using vhdl textio
body: <p>I have successfully written a vhdl code to read and write a file. Basically I read a file, process the data in the file and write the results to another file.
  Now I want to extend my program to reading multiple testcases. For example the data will be available in different files named 1.txt, 2.txt, and so on till 100.txt. 
  I want to use a loop to read the data from the files one by one and write the output to different files. Can any one help?</p>
  
  <pre><code>type i1 is file of character;                       
  file f1 : i1 open READ_MODE is "1.txt";
  </code></pre>
  
  <p>this is the type of code i have used for reading the file. How to extend it for array of files?</p>