print the date when finishing a recreate
add a new line
get the amount of lines in the file dynamically