handle cases where hidden files don't exist anymore