modified reader to get dir;  added additional test file