Opening file on reading mode.