Take into account unknown file types and links.