I have this code I got off dev.android.com...

```
@Override
    protected void onStop(){
        FileOutputStream fos = openFileOutput(filename, MODE_PRIVATE);
        fos.write(levelComplete);
        fos.close();
    }

```

Supposedly this should create the file if it's not there, otherwise, it should write to it. However, I'm getting a FileNotFoundException. Help?

EDIT: Input:

```
@Override
protected void onStart(){
    FileInputStream fis = openFileInput(filename);
    levelComplete = fis.read();
    fis.close();
}

```