File Log

This code logs data into a file upon executing it.