Refactored attachment URI