why we should use file? 
old style was more correct you can add retries for it