Added suport to directory download