Switching defaults of usefilemode and defaultfilemode