Reading file for building types