read file - first draft