doc: start adding file funcitons