method for writing underload measurements to file