generate pre static file