Renaming attribute from init_dir to init_file