takes  instead of hard coded value
actually transfer the files