Fixed files listing when hidden files are present