Add new directories to the file object. Check to make sure they aren't
already in the file object.