updated wrapper and made available put file and get file function