Added additional feature to get the file metadata