trying to work out transfer file error