updated the setEntrance method to the file parsing magic