in reply to Reading specific files

This will give you a list of the files which begin with "R":
my @files = grep { (-f $_) and (/^R/) } readdir( DIR );

Keep in mind that readdir also returns subdirectories, hence the -f file check. You then need to open files individually.