add remobe file function
add read write function