Add extract-files

Change-Id: Iac54c2634219597cf57fe3a84943071fe653789d
merge CyanogenMod

Change-Id: I77888db1a6650acae65a1e3d0fa17e05b0b97845