Minimize FS operations for reading and writing