implementation of the new filesystem design