Adding options to read and write files on internal storage.