filename recognition based on regex