Fix #83 : consider that the state machine should consider transitions between its sub states.
Allow to create a new file from the interface