Fixat endOfFile