Added support for hard and sym links

Should be straight forward