read the file a little better