create file descriptor check script