Added option for hidden files, remember last path