尝试 doesn't sound right to me. Maybe 试图 is better here. And please take out ",,文件:" since the tag that follows does not really show the filename. It shows the error code.