Using FS API instead of Component