[PATCH 3.16 045/136] Fix to check Unique id and FileType when client refer file directly.