implement timeout wait
add download link and return value

one more thing, the extended attribute name now changes to filename.