saving kills to a txt file

how do i save the players kills to a text file for later use?

file.Write
file.Read
player:Frags
player:SteamID
string.gsub

thank you