Implemented the option to log to a file

File name format: ```yy_mm_dd.log```