Close a FILE* instead of deleting it

Fill in the blank so file automatically closes the FILE* with closeFile when it goes out of scope, instead of calling delete on it.

main.cpp
void closeFile(FILE* fp) {
if (fp) std::fclose(fp);
}
file(std::fopen("data.txt", "r"), closeFile);
106 of 117 in C++