Probem with file imput

This is very likely due to inode reuse. See the posts linked to in this thread. There are various workarounds suggested in some of those.

There is no good solution. You could change the completion action from delete to log, then have an external script truncate the files as they are logged.