Where do I change where files are stored?

Is there a settings file and if so where is it located?