Add extract-files

Change-Id: I331bd893a936bcd13ca6ed2e9751466fccb6ba03
merge CyanogenMod

Change-Id: I42d44354c0afaba781515b6e878d74d761196bf4