add some interface implements for filesource

add some interface implements for filesource