I took the idea from the function>_RFLTA_ListToMask() by Melba23 and modified it a little. So all the credit should be focused towards those mentioned in the function header. Any suggestions or problems post below. Function: #include <StringConstants.au3> ; #FUNCTION# ==================================================================================================================== ; Name ..........: _IsValidFileType ; Description ...: Checks if a filepath contains an approved file