Folding for jake files