sendfile deprecated

used sendFile instead