Make reference a string (issue #5)

Make reference a string with the limitation that it cannot contain invalid filename chars.