Fixes #5823: Remove file in inputs when doing a reset
Merge pull request #3 from peckpeck/bug_5823/remove_file_in_inputs_when_doing_a_reset

Fixes #5823: Remove file in inputs when doing a reset