fixed memory bug, code assumed text was zero-terminated c-string . file is loaded explicitely as one now