Updated File IO

Made some changes, however, there are some designs that need to be considered more before File IO gets updated.