parameters are now used when sending a file