Bug fix. Handle files whose name start with "." correctly.