since __file__ is not callabale, I try to use in in loadPage