file utility used by logs