Arduino Result to text file

Thanks a lot but i don't have SD Card nor Bluetooth connected to the Arduino Board , So Am using USB , but the problem is i am not understanding how , I found this code
Wise time with Arduino: Arduino writes to file , but I can't understand it or determine if it is useful or not can you explain it or sth ? . thanks again ...