filePermission paramater is passed into streamhandler