Only do this for files.