slightly better soln for inclusion of file extension for sym links.

Providing an alternative soln for including file extensions for sym links.