added AnsiFile implementation for Linux