Get and Save Time To File