finished generate file