Rudimentary file logger with export to sdcard