fixes to sretrive to pick hidden files