insert file status into table