LPS-38017 Set file size threshold for preview generation