public function deleteFile($recordId, $field, $event = null, $repeatInstance = null)
    {
        $data = array (
                'token'        => $this->apiToken,
                'content'      => 'file',
                'action'       => 'delete',
                'returnFormat' => 'json'
        );
        
        #----------------------------------------
        # Process arguments
        #----------------------------------------
        $data['record']           = $this->processRecordIdArgument($recordId);
        $data['field']            = $this->processFieldArgument($field);
        $data['event']            = $this->processEventArgument($event);
        $data['repeat_instance']  = $this->processRepeatInstanceArgument($repeatInstance);
        
        $result = $this->connection->callWithArray($data);
        
        $this->processNonExportResult($result);
        
        return $result;
    }