Added ignoring symlinked files, better method for replacing with symlinks.