disable preview if file size is too large