GUI-1080
converted file_cache code from session to default_term cache