New API for sending file as download attachment
Implementation of file download API
Implementation of file download API