4. file life cycle