Fixed bug in create

Moved click callback into initialisation function
Return entire filename on create