test dir and file