added scope for each file