Read and Write file By using ThreadLocal