setting current semester and formatting file