Welcome to the CHICKEN Scheme pasting service
WTF Cordova/W3c File API added by sjamaan on Thu Jun 18 12:52:20 2015
// Really, who comes up with this shit? window.resolveLocalFileSystemURL( files[filename], function(fe) { fe.file(function(f) { var fr = new FileReader(); fr.onloadend = function(e) { callback(e.target.result); }; fr.onerror = function(e) { throw e; }; fr.readAsText(f); }, function(e) { throw e; }); }, function(e) { throw e; } );