so you've said 'if src is a dir, all its contents will be written' and now you say if there isn't a trailing slash, those directly contents will be written to the file - i'm confused. (I assume this is copied from ADD, but its still not making sense to me) :)