Checking mode during file entry construction