blocks function

Return the code blocks from a model specification file