wrong class for file operations in webhook handler