Have you tried to debug the code? Your code almost works fine after fixing a glitch. I believe you'll get it during first pass of debugging itself
Please debug and let us know if you still face any issues.
By the way (its not related to your issue, but) please do not keep empty try/catch blocks. Catching java.lang.Exception and having an empty catch block is very bad programming practice. Secondly, name of your class Make_Files looks more like a method name instead of class name. How about FileMaker?
The first line will create a new directory called "My New Folder".
The second line will try to create a file called "My New Folder". When you look at the API, you will notice that instantiating a new FileWriter using the constructor that takes a String will try to create a file with that String value as a name. But since you've already created a directory with that name, there's where it fails.
So the second line should be:
And your good to go.
P.s. I'm not getting why your trying to create a FileWriter that refers to a directory anyway?
subject: Populating A Folder With Files - Access Denied