added diag and time_code files