Adds file plugin to cordova