added only link check for fileexist