add preference to choose files