Adding a type parameter to be read from file