check for hidden files and if exists ignore it