Add last line in primary_file