re-added file/metadata sending/receiving methods