Try to parse response in sendFile function