Some changes in the readFile function and some little things ^^