File attachment links giving a 404 error