check if path is exists