Fixed buglet in file open action.