Calculate newline, word, and byte counts. Utilizes HTML5 File API.