documented the getFile/getDirectory options