Output the first part of files. More information: https://ss64.com/osx/head.html.
head -n {{count_of_lines}} {{filename}}
head -c {{number_in_bytes}} {{filename}}