get rid of file.current()