Added file plugin for phonegap.