add jj's open BUILD file functionality