Fix/uploaded file

remove the use fo self in order to let inheritance work