Finished parsing function
unneeded materials list, not enough time
fixed syntax errors
Mapp object now takes files