Added dir/file indication to PathComplete function