Use os.path.splitext to split the filename and the extension instead of regexp.
Use os.path.splitext to split the filename and the extension instead of regexp.

inveniosoftware/invenio,tiborsimko/invenio,inveniosoftware/invenio,tiborsimko/invenio