changes in file loading