now it reads file location from config file