update file upload, add FileNameGenerator