Initial filesystem calculations