split format and filesystem storage (fixes: #4)