file scheduler with progress bar working