permissions file cleanup