differentiate class Pref and instance pref
auto load folder for opened file