read LF from categories table