documentation in readfiles and userdata. test for userdata