check for file and symlink