Make path and encoding not required (e.g. if using setPlainText instead of file.open)
Improve frosted(pyflakes) test