working on read file