PLD: handle-file-selected and form-settings tests
PLD: refactor to use io helper