improve doc for generate files