min file generation