regenerate file