staging::file expects the target to be a filename