Add read file code.