active retrieving file implemented