file/metadata reading works now and so does metadata writing
Commit fix