Client.c: initial file or directory check