Preserve file attributes and made it sourceable