my $file_path = "$path/$path-info"; if ( -s $file_path ) { open(FILE, $file_path) or die ...