hide edit button if file too large