public static byte[] ReadBytesFromStreamAssets(string file){
string filePath = System.IO.Path.Combine(Application.streamingAssetsPath, file);
byte[] result = null;
if (filePath.Contains("://")) {
WWW www = new WWW(filePath);
while(!www.isDone){}
result = www.bytes;
} else
result = System.IO.File.ReadAllBytes(filePath);
return result;
}