This module can be used to parse directory listings. WWW: http://search.cpan.org/dist/File-Listing/