Created filesystem generic read, read all and write methods