Understanding the proper way to handle attachements ("assets")

this no longer works this way apparently. The attachment just ends up in the assets folder