Migrate open file from previous form.

Implement type safe enum for status in each phase.