Added parameter.txt and created method to read paramters from file