add init under file directive