added credit management for send file requests