You and Tye reminds me of the right solution to my problem.It seems that the FileHandle was not updated in child process. I therefore created a FileHandle in each child process instead of the parent process. Anyway, it is my own understanding. If someone know it, do drop me your message.