Added printing and logging files