copies the content of a file changed to clipboard