fixed removal of file when there are more then one file in the form