moving psj_file to behavior