The function signature declares `void* data` but the body incorrectly cast `file` instead of `data` when calling `closeFile`. This fix aligns the cast with the declared parameter name.
The function signature declares `void* data` but the body incorrectly cast `file` instead of `data` when calling `closeFile`. This fix aligns the cast with the declared parameter name.