add file collection for phonegap