Removed unnecessary lines from reading data from config file