* This will be called by hw_diags.py to update a file in the background * NOTE: This uses a naive check before attempting to write data