Hi, Now i'm trying to delete the last n characters at the end of a text file making the file shorter in size and pushing the EOF n places back, i try replacing the last char with "" and also std.string.whitespace but both doesn't do the job. Any ideas? Thanks in advance.