Better handling of much larger files

- Load large files much quicker
- Include a configurable max file size limit