add new method for read file meta.
add new test