Updated readme
Simplify logging
Purification
Suppress warning "ResourceWarning: unclosed file"