Javadocs.
Simplified action.
Use native platform's PosixFiles type where it is available to get and set file mode and to create symlinks.