Added scope import to file handlers