by the way it makes no sense to use send file here, since the file is in the pubic folder it can be served by the web server, if you were trying to implement some sort of authorization is not working and the file and be downloaded without authorization (unless you assign them in the web server). Use send file when the files are out of the reach of the web server or when if you want to control access to the file move out of the public folder.