get file metadata