Why don't you want to use
serveStaticFile
if youwant to do exactly what it does ?
Because I do not understand why I can't do serveStaticFiles in handler ("index" in my case) and must do serveStaticFiles inside get.
I am trying to understand it, because if I would not understand logic of this case I would have problems with more complicated code.