further update the readASD function for full compatibility with v8 files (re-organize it)
further update the readASD function for full compatibility with v8 files (re-organize it)