Sets checkbox with data-reset attribute depending on whether or not a file has been selected or cleared.