Local and system time outputted to file