Make is so docname is lower and with no spaces.