made details to be read from file.