Allow specifc file extension instead of define forbidden (#146)