<file> does not get directoryMode