Splitting the file contents into front mater and body.