test added directory and file