Updating the fileType check. DHH-426