Finish reading config and printing to file functionality