Adding file metadata reading function to get file infos

File infos are : size, type, name, lastModifiedDate, ...