First open file.