Using \n's instead of - around the headers, as filename can contain a -