added BP_PROC and changed how the GET_PROC and GET_FILE functions are selected. Functions until perform_read are taken care off