Client side file/directory validation