allow filename detection