"Have" is correct and can be only one thing: I possess/hold/etc. the file.
"Got" can be two things:
- I've got the file: has the same meaning as "I have the file", but it is rather informal, especiallysomewhat informal; if you leave out "have/'ve", it is very informal (in this case, "got" is the past participle of "get").
- I received the file (in this case, it is the simple past of "I get").
My guess is that your corrector either found "got" confusing, or took it as "have" but considered that too informal.