in reply to Use of uninitialized value $file in concatenation
Also, read Writeup Formatting Tips again, and post readable code in "code" tags.