moving file, wait_for_parameter returns value