added flags and modes to fs docs