Remove log_file() method