Saving and Loading .txt files (ANDROID)

@akenaton
I just broke up your initial reply to me, sorry for not doing this in the first place:

Noted, I will put research into this tonight
.

I tried this solution android - java.lang.IllegalArgumentException: contains a path separator - Stack Overflow in my initial link, as well as most of the other answers with examples.
All of the solutions gave me errors like this:

The name "context" cannot be recognized
Error on "mkdir" Consider adding "Identifier"
The class "RandomAccessFileOutputStream" does not exist

.

If android saves and loads to/from a different path than java, how come my current build works with code like this on android:

die = new SoundFile(this, "audio/die.wav");
tutorial = loadImage("tutorial.png");