Added support for hidden files.