Fix/enable disable sendFile()

configuration to enable or disable sendFile()