init main file