I am trying to read and write file "readme.txt" . readme file is in the same folder where the source file is. phonegap.1.0.0.js already included in index.html but shows me the errors like

1.Uncaught ReferenceError: blackberry is not defined PhoneGapphonegap.1.0.0.js:307 (anonymous function)

Uncaught TypeError: Object [object Object] has no method 'addConstructor' Cameraphonegap.1.0.0.js:913 (anonymous function)
3.Uncaught TypeError: Cannot read property 'PERSISTENT' of undefined onDeviceReadyByFile.html:16 b.exportsripple.js:369 f

I am working on one of the Phonegap example
Thanks Advance