A short function to check the filename of an uploaded file – used an ACF upload field. Installconstructions in the readme file.