Extract mustache tokens from a file or string.