Fix flattening, and use of deprecated .slurp on file handle
Merge pull request #1 from moritz/fix-deprecation-flattening

Fix flattening, and use of deprecated .slurp on file handle