If the file is a link, follow it up to the file