Create Error In File Reading

Found issue while writing to a file .