wired get files, insert files to mongo