add B file function into core data