check file size against 32768 limit