Updated for deprecated express methods send and sendfile