Updated version in README.
Using fgets for better line handling.