removed open and close file function