Attached and uploaded files are not viewable - getting an access denied error