setFileMode is back