Added function to count chars.
Added app to read records.
Function to write a newline to a file.