Bugfix with large files