file storage system for phonegap