How to fetch file path from a folder through PL/SQL
Mr. Kyte wrote about accessing os-file-information utilizing the preprocessor directive a while ago. Perhaps this is what you are after. 

query the operating system