added file and symlink utilities and some fixes