Update regular expressions for file type checking