Add a parameter for the function setFileToSend

Add a parameter for the function setFileToSend, showing up in the Browser instead of to download.