Open file once