When loading a file (in this case a text file) in Greenfoot, is it possible to load it when it's in a folder? I want to have all of my text files in a folder called "worlds". Is it possible to access them for the following line?
InputStream is = getClass().getClassLoader().getResourceAsStream(worlds/file.txt);