working on File API using phonegap api