some stuff to do with files