Add #get_file_data for local files.

Change-Id: Id60107bb20803d225913163a92f3e2e9bac27ae2
Merge "Add #get_file_data for local files."