File read and write debugged.

Still need to verify write for larger files. Also need to investigate "__init__() takes at most 2 positional arguments" message that I see in the log. We now log to an app-specific file (we got sick of the newlines being folded with Syslog).