revise way to get file list : objects->filenames. modify the FileType Writer Function.