infer relative path for html report