problem with going through file