Changed recv_generator() to take a "struct file_struct *" instead of