How do I get a file from my assets? (File.Open)

I have a bit of code that gets a file from persistent data but I want to instead use the exact same method to get a file from my assets folder. (e.g. Resources). Where does the path start and how can I point it to the assets folder?

BinaryFormatter bf = new BinaryFormatter();
FileStream file = File.Open(Application.persistentDataPath + "/" + scene.name + "-record", FileMode.Open);
MyReplay = bf.Deserialize(file);
file.Close();

Thanks

you would use AssetDatabase for example:

Texture2D t = (Texture2D)AssetDatabase.LoadAssetAtPath("Assets/Textures/texture.jpg", typeof(Texture2D));