It uses powershell (currently a Windows function only)
file_head(file_path, n = 10, one_string = TRUE)
file path (character)
number of lines (integer)
logical, if TRUE (default) it collapses all lines in a singe string
a character vector (length n; if one_string = TRUE, length 1)