update readFile option