change to read file rfrom disk