use with for opening files