$path = "path/to/my/files"; $HTML =$q->param('file'); open FILE "<$path/$HTML" ....