Ignoring attachment media directory