Changed place where xml and other files written are stored.