added load file functionality to fetch_active