update readme example. attach takes a file