fixex to tutorial and bug in createLines
new file-loading methods