fix to get millisecond output from files