fix for larger files

Add extra permanent error and increased the percentage cutoff to help lager files
Merge pull request #198 from znap026/master

fix for larger files