further improved large file handling support