add handling symlinks for non-dot files