How to create multiple files by getting the filename from the list in text file (java)?
<p>For example, there is a file <code>subjects.txt</code>:</p>

<ul>
<li>Java</li>
<li>Python</li>
<li>Perl</li>
<li>Php</li>
</ul>

<p>Which functions should be used to create four text files with names <code>Java.txt</code>, <code>Python.txt</code>, <code>Perl.txt</code>, <code>Php.txt</code> using list from <code>subjects.txt</code>?</p>