Found bug in directory parser, and started work on fixing it