added bar registration folder and opening file