moved common file loading to a module