Limit file size to 0.5MB