in reply to Read only Files in a Directory

Your file test does not include the complete path to the files so perl is looking in the current working directory for them.