Added features for downloading and resetting the log file