Cleaned up file type check for previously created symlinks.