use File::Spec; my $file = File::Spec->catfile($protected_folder, $protected{'file'});