check that files have been selected for upload