Replace hardcoded path to the SD card with an API call, create a different log file each run