Added basic logging to file on external storage