The documentation clearly says that \fn
is only required if your comment is not placed immediately before your function declaration.
If your comment block is in front of the function declaration or definition this command can (and to avoid redundancy should) be omitted.
So just remove the whole \fn
line, and it should work.
UPDATE:
By the way, \file
shouldn't have a filename after it.
If the file name is omitted (i.e. the line after \file is left blank) then the documentation block that contains the \file command will belong to the file it is located in.
If you specify a filename, you'll have to update it manually if the filename changes (and this will happen), and you may forget to do so. Not specifying a filename is easier and will always be up-to-date.