Fix wrong parameter passed to the readFile method