Adds rowPatterns file