Overwrites existing file for localtime