fixed path issue, pathtofile and fxfer functions in initlesson.R