cool stuff to right and read thing on a file