tweak file loading