substitute inv_version column version_number with number
substitute filename with pathname everywhere
almost there.. I have to fix object model metadata method