[CLEAN] PEP8
[IMP] Adapt _create_attachment to create an empty file