update : generateEntity param: FileInputStream -> InputStream