how to read memory card hex file data without using FATFs lib


I am using STM32 F103C8T6 controller with memory card adapter.

using FATFs lib for read HEX file data . its working fine.

but FATFs Lib taken so much of Memory space.

SO, I need alternate for this process.SO, kindly suggest for Without FATFs library to use memory card hex file reading.

thank you.