parent read file and create child process