Output the first part of files.
head -n {{count_of_lines}} {{filename}}
head -c {{size_in_bytes}} {{filename}}
head -n -{{count_of_lines}} {{filename}}
head -c -{{size_in_bytes}} {{filename}}