Checking if file exists in server.