changed the sendFile to render(making a test)