Read/Write files

As I’ve started updating my code. I was confused with this commit -

To be honest, I didn’t yet look thoroughly (Android developing targeting multiple versions is the worse imho).

But found this that might be related/helpful for others migrating code: