Moved code that adds initial border to log file