file load and testing