Add size and type in file data