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

http://www.rudder-project.org/redmine/issues/5823