removed superfluous check for symlink