creating read functions for FileIO
adding read function in FileIO