extract specific dir and files