issue #1003

files on temporary folder should be deleted after usage