Lazy read and write, added closed/name properties and fixed xreadlines
Fix typo
Merge pull request #3 from jumaka/master

Read and write as required, name and closed properties added, xreadlines fixed - a significant increase in tests