simplifies file-log path.