Check added for symlink - to avoid symlinks in the source path