changed hard coded values to files