added a category argument to dvAddFile