update to sendFile
add root difr
Merge pull request #1777 from matiu/bug/start

update to sendFile