Test dir and file in it