[VXA] Creating Text Files in Sub-directories?

Hey there, first time posting to the forum so I'll try to keep this to-the-point:
I'm working on my first "script heavy" game and am relatively new to actually using RGSS3 in-depth.
I've gotten "creating text files" down pat pretty well and that part of my script works fine. However as part of my game I want to have a folder in the games directory that stores the text files my game generates, as an external sort of Journal.
I got to the part of creating the folder, which worked fine, but creating a text file *in* said folder always causes a crash in testing.
I'm not really sure what I'm doing wrong so any help would be appreciated ^^!

1713722346798.png
I think you need 'quotes' around the file path to mark it as a string, e.g.
Ruby:
File.open('Journal/test.txt', 'w') do |file|
You can even see the difference in your two screenshots.

The first one has
Code:
File.open("textfile.txt",

Then the second time you do
Code:
File.open(Journal/test.txt
You can even see the difference in your two screenshots.

The first one has
Code:
File.open("textfile.txt",

Then the second time you do
Code:
File.open(Journal/test.txt
I can't believe I forgot the quotation marks and didn't notice omg. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/vxa-creating-text-files-in-sub-directories.167953/