NetworkConnection.c: intitial file or dir check