Functionality to load test file