B/cwe 856 87488 permissions denied attachments

Load file info from the uri not the filename.