file insert api function