I haven't found any information about modes in `filelib` module documentation. Possible, it will require a bit of bicycle reinvention :)