assume if/while indexes per file