FileReader, added labelfactory