add files creation support to metadata