[PATCH v2 02/13] storage file: add getDataFile function to FileTypeInfo