refactor: rename logger -> logfile