Changed Write flag To read-only flag.