UnauthorizedAccessException IOs Tablet --- [SOLVED]

Hey Guys

I’m trying to make an i-pad game but i have heavy issues with the Unauthorized Accsess Exception.
I hope somebody can bare a bit time to help me.
Important: I’m not a really good coder so sorry for the messy code.
i tried to use the resource.load function… but it does not work either.
i also changed from “Application.streamingassets” to persistent datapath
The folders were always correct and it finds the files on the computer so i dont have any problems with the computer build.

This is the code:

 if (File.Exists(Application.persistentDataPath + "/Raw" + "/Unknown_L.dat" + transform.name + levelValue.levelInt))
        {

            BinaryFormatter bf = new BinaryFormatter();
            FileStream file = File.Open(Application.persistentDataPath + "/Raw" + "/Unknown_L.dat" + transform.name + levelValue.levelInt, FileMode.Open);
            LevelData data = (LevelData)bf.Deserialize(file);
            file.Close();

            ChildNr[levelValue.levelInt] = data.levelNr[levelValue.levelInt];

            //Debug.Log("new_Field_is getting Load");

            // gets the child that is been used on this level
            // and sets it equal to the runtime changable field value
            FieldValue.Value[levelValue.levelInt] = data.levelNr[levelValue.levelInt];

        }
        else
            print("NO DATA FOUND");

    }


    /*    // RESOURCES.LOAD
    public void Load()
    {
       
        Object temp = Resources.Load("Fields/" + "Unknown_L.dat" + transform.name + levelValue.levelInt);

    }*/

Problem Solved: Line 11. File.Open is apparently a security issue for iOS.

    // loads the field
    public void Load()
    {

        if (File.Exists(Application.streamingAssetsPath + "/Unknown_L.dat" + transform.name + levelValue.levelInt))
        {

            BinaryFormatter bf = new BinaryFormatter();

//CHANGE HERE
            FileStream file = File.OpenRead(Application.streamingAssetsPath + "/Unknown_L.dat" + transform.name + levelValue.levelInt);

            LevelData data = (LevelData)bf.Deserialize(file);
            file.Close();

            ChildNr[levelValue.levelInt] = data.levelNr[levelValue.levelInt];



            FieldValue.Value[levelValue.levelInt] = data.levelNr[levelValue.levelInt];

        }
        else
            print("NO DATA FOUND");
    }