Refactoring attachment get_data usage