filing a permit