add file read method

add file read method