read from file compleated