file load refactor