Updated and tested
Updated read file