add 3D read data function

1. add 3D read data function
2. commit on 2D read data function
3. file structure optimization