add file operator function

add file operator function