Handle input while calculating directory sizes. Refs #5.