diff --git a/sirtrevor/views.py b/sirtrevor/views.py
index <HASH>..<HASH> 100644
--- a/sirtrevor/views.py
+++ b/sirtrevor/views.py
@@ -47,6 +47,7 @@ def attachment(request):
 
         data['path'] = default_storage.save(name, file_)
         data['url'] = default_storage.url(data['path'])
+        data['name'] = os.path.split(data['path'])[1]
         data['size'] = file_.size
 
         return HttpResponse(json.dumps({'file': data}))
Also return the file name for each attachment.