updated read file